import pagesJson from '@/pages.json'

const { globalStyle } = pagesJson
/**
 * 全局样式
 */
export const useGlobalStyle = () => {
  const {
    navigationBarTextStyle,
    navigationBarTitleText,
    navigationBarBackgroundColor,
    backgroundColor
  } = globalStyle
  return {
    navigationBarTextStyle,
    navigationBarTitleText,
    navigationBarBackgroundColor,
    backgroundColor
  }
}
